<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<!--<#include "/common/commoncss.ftl">-->
<!--<#include "/common/modalTip.ftl"/> -->
<head>
	<div th:replace="common/commoncss :: commoncss"></div>
	<div th:replace="common/modalTip :: modalTip"></div>
<style type="text/css">
a {
	color: black;
}

a:hover {
	text-decoration: none;
}

.bgc-w {
	background-color: #fff;
}
</style>
</head>
<body>
<div class="row" style="padding-top: 10px;">
	<div class="col-md-2">
		<h1 style="font-size: 24px; margin: 0;" class="">职位管理</h1>
	</div>
	<div class="col-md-10 text-right">
		<a href="##"><span class="glyphicon glyphicon-home"></span> 首页</a> > <a
			disabled="disabled">职位管理</a>
	</div>
</div>
<div class="row" style="padding-top: 15px;">
	<div class="col-md-12">
		<!--id="container"-->
		<div class="bgc-w box box-primary">
			<!--盒子头-->
			<div class="box-header">
				<h3 class="box-title">
					<a href="positionedit" th:href="@{/position/positionedit}" class="label label-success" style="padding: 5px;">
						<span class="glyphicon glyphicon-plus"></span> 新增
					</a>
				</h3>
			</div>
			<!--盒子身体-->
			<div class="box-body no-padding">
				<div class="table-responsive">
					<table class="table table-hover table-striped">
						<tr>
							
							<th scope="col">名称</th>
							<th scope="col">层级</th>
							<th scope="col">描述</th>
							<th scope="col">操作</th>
						</tr>
<!--						<#list positions as position>-->
							<tr th:each="aoaposition:${positionList}">
								<td><span th:text="${aoaposition.getName()}"></span></td>
								<td><span th:text="${aoaposition.getLevel()}"></span></td>
								<td><span th:text="${aoaposition.getDescribtion()}"></span></td>
								<td><a  href="positionedit?positionid=${position.id}"
										th:href="@{/position/positionedit(positionId = ${aoaposition.positionId})}"
										class="label xiugai"><span class="glyphicon glyphicon-edit"></span> 修改</a>
									<a href="readdept?deptid=${dept.deptId}"
									   th:href="@{/position/delposition(positionId = ${aoaposition.positionId})}"
									   class="label shanchu"><span class="glyphicon glyphicon-remove"></span> 删除</a></td>
								</td>
							</tr>
<!--						</#list>-->
					</table>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
</html>